/* 用户管理模块 */
import {createAction} from 'redux-actions'
import {userConter} from 'api'
import {createAjaxAction} from 'utils'
  
  
export const fetchHouseCheckList = createAjaxAction(//基础数据
  userConter.userRegList,
)
export const showUserInfo = createAjaxAction(//用户详情
  userConter.showUserInfoList,
)
export const setBlackListBack = createAjaxAction(//设置黑名单
  userConter.setBlackList 
)
export const attestation = createAjaxAction(//普通用户认证审核
  userConter.attestationList 
)
export const VuserReg = createAjaxAction(//大咖用户查询
  userConter.VuserRegList 
)
export const Vattestation = createAjaxAction(//大咖用户认证审核
  userConter.VattestationList 
)
export const Vdelete = createAjaxAction(//大咖用户删除
  userConter.VdeleteList 
)
export const Vblank = createAjaxAction(//大咖用户拉黑
  userConter.VblankList 
)
export const addMaster = createAjaxAction(//大咖用户新增
  userConter.addMasterList 
)
export const editMaster = createAjaxAction(//大咖用户编辑
  userConter.editMasterList 
)
export const getCompanyTypeList = createAjaxAction(//获取公司类型
  userConter.getcompanytype 
)
export const searchcompanyList = createAjaxAction(//模糊搜索公司名
  userConter.searchcompany 
)

export const masterInfo = createAjaxAction(//大咖用户-详情查询
  userConter.masterInfoList 
)
export const companyUserAttestation = createAjaxAction(//企业用户认证审核
  userConter.companyUserAttestationList 
)

export const companySelect = createAjaxAction(//企业用户查询
  userConter.companySelectList 
)
export const companyInfo = createAjaxAction(//企业用户-详情
  userConter.companyInfoList 
)

export const upgradeMaster = createAjaxAction(//认证用户-升级大咖
  userConter.upgradeMasterList 
)

export const upgradeRegistered = createAjaxAction(//注册用户-升级大咖
  userConter.upgradeRegisteredList 
)

export const deleteUserSelect = createAjaxAction(//删除黑名单里面的数据
  userConter.deleteUserSelectList 
)

export const addUserSelect = createAjaxAction(//注册用户-新增功能
  userConter.addUserSelectList 
)

export const editSelect = createAjaxAction(//注册用户-编辑(先查询)
  userConter.editSelectList 
)

export const editUserData = createAjaxAction(//注册用户-编辑
  userConter.editUserDataList 
)